/*
 * Copyright (c) 2025 CAX Conversion Project
 */
package com.comac.ins.isfd.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.comac.ins.isfd.domain.IsfdDatabaseModelingConfig;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;


/**
 * 数据库建模配置视图对象 isfd_database_modeling_config
 *
 * @author Lion Li
 * @date 2024-11-27
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = IsfdDatabaseModelingConfig.class, reverseConvertGenerate = true)
public class IsfdDatabaseModelingConfigFieldVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @ExcelProperty(value = "ID")
    private String id;

    /**
     * 字段名称
     */
    @ExcelProperty(value = "字段名称")
    private String fieldName;

    /**
     * 字段描述
     */
    @ExcelProperty(value = "字段描述")
    private String fieldDescription;

    /**
     * 字段类型
     */
    @ExcelProperty(value = "字段类型")
    private String fieldType;

    /**
     * 字段结构
     */
    @ExcelProperty(value = "字段结构")
    private String fieldStructure;

    /**
     * 字段长度
     */
    @ExcelProperty(value = "字段长度")
    private Long fieldLength;

    /**
     * 默认值
     */
    @ExcelProperty(value = "默认值")
    private String defaultValue;

    /**
     * 是否允许为空
     */
    @ExcelProperty(value = "是否允许为空")
    private Integer isNullable;

    /**
     * 删除标志;0：存在；1：删除
     */
    @ExcelProperty(value = "删除标志;0：存在；1：删除")
    private Integer isDelete;


}
